All Functions of Week 7

install.packages

{utils}

Install R packages

group_by

{dplyr}

Group tibble/data.frame by a factor variable. All further tidyverse operations are performed group-wise

group_tt

{tinytable}

Grouping in tinytable

list

{base}

Create a list object

modelsummary

{modelsummary}

Creates regression and data tables

library

{base}

Load an R package

read.csv

{utils}

Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters

pdata.frame

{plm}

Creates a panel data frame, the data structure used by the plm package for panel/longitudinal data

arrange

{dplyr}

Sort values of data frame according to a variable/combination of variables

plm

{plm}

Estimates linear panel data models (fixed effects, random effects, pooling, between, first-differences)

mutate

{dplyr}

Create new variables

log

{base}

log (default base = e)

coeftest

{lmtest}

Inference for Estimated Coefficients

c

{base}

Combine values/vectors into a vector

ungroup

{dplyr}

Resolve grouping created with “group_by”

vcovSCC

{plm}

Computes Driscoll and Kraay (SCC) robust covariance matrix estimators for panel models

lag

{dplyr}

Shift values in a vector or time series

The end!